home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 October / EnigmA AMIGA RUN 01 (1995)(G.R. Edizioni)(IT)[!][issue 1995-10][Aminet 7].iso / Aminet / comm / bbs / bbs_200s.lha / Scripts / PF.script < prev    next >
AmigaDOS Script File  |  1994-02-20  |  706b  |  22 lines

  1. .key comment,path,fn0,fn1,fn2,fn3,fn4,fn5,fn6,fn7,fn8,fn9
  2. if not exists sys:Temp
  3.    makedir sys:Temp
  4. endif
  5. if not exists ram:PF.LHA
  6.    if exists sys:temp/PF3.LHA
  7.       delete sys:temp/PF3.LHA
  8.    endif
  9.    if exists sys:temp/PF2.LHA
  10.       rename sys:temp/PF2.LHA to sys:temp/PF3.LHA
  11.    endif
  12.    if exists sys:temp/PF1.LHA
  13.       rename sys:temp/PF1.LHA to sys:temp/PF2.LHA
  14.    endif
  15.    Failat 21
  16.    lha -P-5 -r -wRAM: -x a ram:PF.LHA <path> <fn0> <fn1> <fn2> <fn3> <fn4> <fn5> <fn6> <fn7> <fn8> <fn9>
  17.    lha a ram:PF.LHA gmc-bbs:bulletins_menu/sys-info.displayme gmc-bbs:bulletins_menu/dl-gmc.displayme
  18.    FileNote ram:PF.LHA "<comment>"
  19.    copy ram:PF.LHA to sys:temp/PF1.LHA clone
  20.    delete ram:PF.LHA
  21. endif
  22.